package com.winglinks.message;

/**
 * @author wangzhong
 * @description: TODO
 * @date 2024/1/26 9:33
 */
public interface MessageProduct {

    /**
     * 生产topic
     * @param gatewayIdentification
     * @return
     */
    String generateTopic(String gatewayIdentification);


    /**
     * 获取消息model
     * @return
     */
    String getModel();

    /**
     * 生产消息
     * @param deviceIdentification
     * @return
     */
    String generateMsg(String deviceIdentification);

    /**
     * 产品匹配
     * @param model
     * @return
     */
    boolean isSupport(String model);
}
